/**
 * Copyright (c) 2009 Teoti Graphix, LLC See:
 *     http://tkarchitecture.teotigraphix.org
 * 
 * Permission is hereby granted, free of charge, to any person
 * obtaining a copy of this software and associated documentation
 * files (the "Software"), to deal in the Software without
 * restriction, including without limitation the rights to use,
 * copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following
 * conditions:
 * 
 * The above copyright notice and this permission notice shall be
 * included in all copies or substantial portions of the Software.
 * 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 * OTHER DEALINGS IN THE SOFTWARE.
 * 
 * @author Michael Schmalle mschmalle@teotigraphix.com
 */
package test.suite.dxframework.patterns.manager
{

import mx.events.FlexEvent;

import org.flexunit.async.Async;
import org.fluint.uiImpersonation.UIImpersonator;
import org.teotigraphix.dx.patterns.manager.BehaviorManager;

import test.suite.dxframework.support.behavior.IconBehavior;
import test.suite.dxframework.support.component.IconButton;

/**
 * @author Michael Schmalle
 * @date 08-03-09
 */
public class TC_BehaviorManager
{
	protected var button:IconButton;
	protected var behavior:IconBehavior;
	
	[Before(ui,async)]
	public function setUp():void
	{
		button = new IconButton();
		behavior = new IconBehavior();
		
		Async.proceedOnEvent(this, button, FlexEvent.CREATION_COMPLETE);
		UIImpersonator.addChild( button );
		
		BehaviorManager.registerBehavior( button, IconBehavior, behavior );
	}
	
	[After]
	public function tearDown():void
	{
		UIImpersonator.removeChild( button );
		button = null;
		behavior = null;
	}
	
	[Test]
	public function test_call_createBehaviorLayer():void
	{
	}
	
	[Test]
	public function test_call_getBehaviorLayer():void
	{
	}
	
	[Test]
	public function test_call_hasBehaviorLayer():void
	{
	}
	
	[Test]
	public function test_call_registerAPI():void
	{
	}
	
	[Test]
	public function test_call_createBehavior():void
	{
	}
	
	[Test]
	public function test_call_registerBehavior():void
	{
	}
	
	[Test]
	public function test_call_removeBehavior():void
	{
	}
	
	[Test]
	public function test_call_hasBehavior():void
	{
	}
	
	[Test]
	public function test_call_getBehavior():void
	{
	}								
	
	[Test]
	public function test_call_getBehaviors():void
	{
	}
}
}